export default  {
  Page: {
    onLoad(){
      console.log("触发混入-------")
      getApp().addMenuButtonRect(this)
      this.$message = {
        info(title){
          wx.showToast({
            icon: "none",
            title
          })
        },
        success(title){
          wx.showToast({
            title,
            mask: true
          })
        },
        loading(){
          wx.showToast({
            icon: "loading",
            title
          })
        },
        error(title){
          wx.showToast({
            icon: "error",
            title
          })
        }
      }
    },
  }
}